package com.kbxwn.logmanager.entity;

/**
 * <p>描述：
 * <p>作者：liangguokui 2018/3/19
 */
public class LogEntity {
    public String level;
    public String tag;
    public String log;

    public LogEntity(String level, String tag, String log) {
        this.level = level;
        this.tag = tag;
        this.log = log;
    }

    public boolean checkTag(String filterTag) {
        return tag.length() != 0 && filterTag.contains(tag);
    }
}
